<?php
namespace app\common\model;

use think\Model;
use think\Db;
class Address extends Model
{
	public function getCreateTimeAttr($val){
		return date('Y-m-d H:i:s',$val);
	}
	public function checkval($uid){
		$result =$this->where(array('uid' => $uid ))->select();
		if(!$result){
			return true;
		}
	}
}